package cn.tpshion.config.domain.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 认证数据接收类
 */
@Data
public class AuthInfoDTO implements Serializable {

    private static final long serialVersionUID = 2700511420774981149L;

    private String username;

    private String password;

    private String secretkey;

    @NotEmpty(message = "认证类型不能为空")
    private String type;
}
